#include<stdio.h>
#include<assert.h>

size_t MyStrlen(const char* str)
{
	assert(str != NULL);
	int count = 0;
	while (*str)
	{	
		count++;
		str++;
	}

	return count;
}

int main()
{
	char arr[] = "abc";
	size_t len = MyStrlen(arr);
	printf("%zd\n", len);
	return 0;
}